package com.inno.auth.common.enums;

import lombok.Getter;

/**
 * @author sean
 * 登录类型
 */
@Getter
public enum LoginTypeEnum {
    /**
     * "1" 账号密码登录
     * "2" 微信登录
     */
    LOGIN_TYPE_PASSWORD("1", "账号密码"),
    LOGIN_TYPE_SHORT_MESSAGE("2", "手机号登录"),
    LOGIN_TYPE_WECHAT("3", "微信登录");

    private final String code;
    private final String desc;

    LoginTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}

